package com.molichuxing.services.infrastructure.bean;

import java.time.LocalDateTime;

import com.molichuxing.framework.bean.RootBean;

public class MotLogBean extends RootBean {

    private static final long serialVersionUID = 8073024941332045667L;

    /**
     * id
     */
    private Integer id;

    /**
     * 车辆ID car_id
     */
    private Integer carId;

    /**
     * 收件人 recipients
     */
    private String recipients;

    /**
     * 产权方 ownership_name
     */
    private String ownershipName;

    /**
     * 收件人电话号码 recipients_phone
     */
    private String recipientsPhone;

    /**
     * 车牌号 licence_plate
     */
    private String licencePlate;

    /**
     * 车架号 vin
     */
    private String vin;

    /**
     * 邮寄地址 mail_address
     */
    private String mailAddress;

    /**
     * 有效期内交强险保单副本照片 insure_prove_url
     */
    private String insureProveUrl;

    /**
     * 返回结果编码：
     * 0：数据库操作错误，请联系客服
     * 1：预约成功，返回JSON格式
     * 2：余额不足，请联系客服
     * 4：参数长度有误
     * 7：该key不存在
     * 8：Key密钥格式错误！
     * 9：请不要提交非法请求
     * -1：接口调用出错，请联系客服 result_code
     */
    private Integer resultCode;

    /**
     * 原因 result_reason
     */
    private String resultReason;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 修改时间 gmt_modified
     */
    private LocalDateTime gmtModified;


    /**
     * @return id
     * @date 2020-05-13 14:02:03
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     * @date 2020-05-13 14:02:03
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 车辆ID
     *
     * @return car_id 车辆ID
     * @date 2020-05-13 14:02:03
     */
    public Integer getCarId() {
        return carId;
    }

    /**
     * 车辆ID
     *
     * @param carId 车辆ID
     * @date 2020-05-13 14:02:03
     */
    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    /**
     * 收件人
     *
     * @return recipients 收件人
     * @date 2020-05-13 14:02:03
     */
    public String getRecipients() {
        return recipients;
    }

    /**
     * 收件人
     *
     * @param recipients 收件人
     * @date 2020-05-13 14:02:03
     */
    public void setRecipients(String recipients) {
        this.recipients = recipients == null ? null : recipients.trim();
    }

    /**
     * 产权方
     *
     * @return ownership_name 产权方
     * @date 2020-05-13 14:02:03
     */
    public String getOwnershipName() {
        return ownershipName;
    }

    /**
     * 产权方
     *
     * @param ownershipName 产权方
     * @date 2020-05-13 14:02:03
     */
    public void setOwnershipName(String ownershipName) {
        this.ownershipName = ownershipName == null ? null : ownershipName.trim();
    }

    /**
     * 收件人电话号码
     *
     * @return recipients_phone 收件人电话号码
     * @date 2020-05-13 14:02:03
     */
    public String getRecipientsPhone() {
        return recipientsPhone;
    }

    /**
     * 收件人电话号码
     *
     * @param recipientsPhone 收件人电话号码
     * @date 2020-05-13 14:02:03
     */
    public void setRecipientsPhone(String recipientsPhone) {
        this.recipientsPhone = recipientsPhone == null ? null : recipientsPhone.trim();
    }

    /**
     * 车牌号
     *
     * @return licence_plate 车牌号
     * @date 2020-05-13 14:02:03
     */
    public String getLicencePlate() {
        return licencePlate;
    }

    /**
     * 车牌号
     *
     * @param licencePlate 车牌号
     * @date 2020-05-13 14:02:03
     */
    public void setLicencePlate(String licencePlate) {
        this.licencePlate = licencePlate == null ? null : licencePlate.trim();
    }

    /**
     * 车架号
     *
     * @return vin 车架号
     * @date 2020-05-13 14:02:03
     */
    public String getVin() {
        return vin;
    }

    /**
     * 车架号
     *
     * @param vin 车架号
     * @date 2020-05-13 14:02:03
     */
    public void setVin(String vin) {
        this.vin = vin == null ? null : vin.trim();
    }

    /**
     * 邮寄地址
     *
     * @return mail_address 邮寄地址
     * @date 2020-05-13 14:02:03
     */
    public String getMailAddress() {
        return mailAddress;
    }

    /**
     * 邮寄地址
     *
     * @param mailAddress 邮寄地址
     * @date 2020-05-13 14:02:03
     */
    public void setMailAddress(String mailAddress) {
        this.mailAddress = mailAddress == null ? null : mailAddress.trim();
    }

    /**
     * 有效期内交强险保单副本照片
     *
     * @return insure_prove_url 有效期内交强险保单副本照片
     * @date 2020-05-13 14:02:03
     */
    public String getInsureProveUrl() {
        return insureProveUrl;
    }

    /**
     * 有效期内交强险保单副本照片
     *
     * @param insureProveUrl 有效期内交强险保单副本照片
     * @date 2020-05-13 14:02:03
     */
    public void setInsureProveUrl(String insureProveUrl) {
        this.insureProveUrl = insureProveUrl == null ? null : insureProveUrl.trim();
    }

    /**
     * 返回结果编码：
     * 0：数据库操作错误，请联系客服
     * 1：预约成功，返回JSON格式
     * 2：余额不足，请联系客服
     * 4：参数长度有误
     * 7：该key不存在
     * 8：Key密钥格式错误！
     * 9：请不要提交非法请求
     * -1：接口调用出错，请联系客服
     *
     * @return result_code 返回结果编码：
     * 0：数据库操作错误，请联系客服
     * 1：预约成功，返回JSON格式
     * 2：余额不足，请联系客服
     * 4：参数长度有误
     * 7：该key不存在
     * 8：Key密钥格式错误！
     * 9：请不要提交非法请求
     * -1：接口调用出错，请联系客服
     * @date 2020-05-13 14:02:03
     */
    public Integer getResultCode() {
        return resultCode;
    }

    /**
     * 返回结果编码：
     * 0：数据库操作错误，请联系客服
     * 1：预约成功，返回JSON格式
     * 2：余额不足，请联系客服
     * 4：参数长度有误
     * 7：该key不存在
     * 8：Key密钥格式错误！
     * 9：请不要提交非法请求
     * -1：接口调用出错，请联系客服
     *
     * @param resultCode 返回结果编码：
     *                   0：数据库操作错误，请联系客服
     *                   1：预约成功，返回JSON格式
     *                   2：余额不足，请联系客服
     *                   4：参数长度有误
     *                   7：该key不存在
     *                   8：Key密钥格式错误！
     *                   9：请不要提交非法请求
     *                   -1：接口调用出错，请联系客服
     * @date 2020-05-13 14:02:03
     */
    public void setResultCode(Integer resultCode) {
        this.resultCode = resultCode;
    }

    /**
     * 原因
     *
     * @return result_reason 原因
     * @date 2020-05-13 14:02:03
     */
    public String getResultReason() {
        return resultReason;
    }

    /**
     * 原因
     *
     * @param resultReason 原因
     * @date 2020-05-13 14:02:03
     */
    public void setResultReason(String resultReason) {
        this.resultReason = resultReason == null ? null : resultReason.trim();
    }

    /**
     * 创建时间
     *
     * @return gmt_create 创建时间
     * @date 2020-05-13 14:02:03
     */
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 创建时间
     *
     * @param gmtCreate 创建时间
     * @date 2020-05-13 14:02:03
     */
    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 修改时间
     *
     * @return gmt_modified 修改时间
     * @date 2020-05-13 14:02:03
     */
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    /**
     * 修改时间
     *
     * @param gmtModified 修改时间
     * @date 2020-05-13 14:02:03
     */
    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        MotLogBean other = (MotLogBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                && (this.getCarId() == null ? other.getCarId() == null : this.getCarId().equals(other.getCarId()))
                && (this.getRecipients() == null ? other.getRecipients() == null : this.getRecipients().equals(other.getRecipients()))
                && (this.getOwnershipName() == null ? other.getOwnershipName() == null : this.getOwnershipName().equals(other.getOwnershipName()))
                && (this.getRecipientsPhone() == null ? other.getRecipientsPhone() == null : this.getRecipientsPhone().equals(other.getRecipientsPhone()))
                && (this.getLicencePlate() == null ? other.getLicencePlate() == null : this.getLicencePlate().equals(other.getLicencePlate()))
                && (this.getVin() == null ? other.getVin() == null : this.getVin().equals(other.getVin()))
                && (this.getMailAddress() == null ? other.getMailAddress() == null : this.getMailAddress().equals(other.getMailAddress()))
                && (this.getInsureProveUrl() == null ? other.getInsureProveUrl() == null : this.getInsureProveUrl().equals(other.getInsureProveUrl()))
                && (this.getResultCode() == null ? other.getResultCode() == null : this.getResultCode().equals(other.getResultCode()))
                && (this.getResultReason() == null ? other.getResultReason() == null : this.getResultReason().equals(other.getResultReason()))
                && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
                && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getCarId() == null) ? 0 : getCarId().hashCode());
        result = prime * result + ((getRecipients() == null) ? 0 : getRecipients().hashCode());
        result = prime * result + ((getOwnershipName() == null) ? 0 : getOwnershipName().hashCode());
        result = prime * result + ((getRecipientsPhone() == null) ? 0 : getRecipientsPhone().hashCode());
        result = prime * result + ((getLicencePlate() == null) ? 0 : getLicencePlate().hashCode());
        result = prime * result + ((getVin() == null) ? 0 : getVin().hashCode());
        result = prime * result + ((getMailAddress() == null) ? 0 : getMailAddress().hashCode());
        result = prime * result + ((getInsureProveUrl() == null) ? 0 : getInsureProveUrl().hashCode());
        result = prime * result + ((getResultCode() == null) ? 0 : getResultCode().hashCode());
        result = prime * result + ((getResultReason() == null) ? 0 : getResultReason().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }

    /**
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", carId=").append(carId);
        sb.append(", recipients=").append(recipients);
        sb.append(", ownershipName=").append(ownershipName);
        sb.append(", recipientsPhone=").append(recipientsPhone);
        sb.append(", licencePlate=").append(licencePlate);
        sb.append(", vin=").append(vin);
        sb.append(", mailAddress=").append(mailAddress);
        sb.append(", insureProveUrl=").append(insureProveUrl);
        sb.append(", resultCode=").append(resultCode);
        sb.append(", resultReason=").append(resultReason);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}